class TrolleyState {
  /// 全选
  bool selectAll = false;

  /// 编辑
  bool edit = false;
  bool showBack;
  int sendType = 2;
  List advertising = [];
  //购物车数据
  var cartData = new Map();
  List cartDataList = [];

  List goodsSourceList = [
    {'isSelect': true},
    {'isSelect': false},
    {'isSelect': false},
    {'isSelect': false},
    {'isSelect': false, 'expire': true}
  ];
  List expireSourceList = [
    {'expire': true},
    {'expire': true}
  ];

  List<Map<String, dynamic>> specificationList = [
    {
      'id': '1',
      'name': '规格',
      'list': [
        {'id': '1', 'name': '规格1', 'isSelect': false},
        {'id': '2', 'name': '规格2', 'isSelect': false},
        {'id': '3', 'name': '规格3', 'isSelect': false},
        {'id': '4', 'name': '规格4', 'isSelect': false},
        {'id': '5', 'name': '规格5', 'isSelect': false},
        {'id': '6', 'name': '规格6', 'isSelect': false},
        {'id': '7', 'name': '规格7', 'isSelect': false},
        {'id': '8', 'name': '规格8很长很长足够长非常的长', 'isSelect': false}
      ]
    },
    {
      'id': '2',
      'name': '型号',
      'list': [
        {'id': '1', 'name': '型号1型号1型号1型号1', 'isSelect': false},
        {'id': '2', 'name': '型号2', 'isSelect': false},
        {'id': '3', 'name': '型号3型号3型号3型号3', 'isSelect': false},
        {'id': '4', 'name': '型号4', 'isSelect': false}
      ]
    },
    {
      'id': '3',
      'name': '样式',
      'list': [
        {'id': '1', 'name': '样式1', 'isSelect': false},
        {'id': '2', 'name': '样式2', 'isSelect': false},
        {'id': '3', 'name': '样式3', 'isSelect': false},
        {'id': '4', 'name': '样式4', 'isSelect': false},
        {'id': '5', 'name': '样式5', 'isSelect': false},
        {'id': '6', 'name': '样式6', 'isSelect': false}
      ]
    }
  ];
//经度
  String maplocationX = "";
  //维度
  String maplocationY = "";
  //自提点列表数据
  List selfHelpAddressList = [];
  //选中商品的数量
  int clickNum = 0;
  //商品规格数据
  var goodsSpecificationsData = new Map();
  //选中商品规格id数据
  String selectSpecifications;
  //选中商品规格图片
  String goodsSpecificationsImageData = "";
  //选中商品规格标题
  String goodsSpecificationsTitleData = "";
  //商品价格
  double sumParic = 0.00;
  //当前打开规格项商品数量
  double goodsNum;
  //当前打开规格商品的cart_id用于删除使用
  String cart_id = '';
  //当前打开规格商品的店铺编码
  String ec_shop_num_id = '';
  //当前打开规格商品的商品编码
  String item_num_id = '';
  //代客下单会员信息
  var orderMemberData = new Map();
  //失效商品
  List sxGoodList = [];
  //购物车促销
  Map promotion_cat = {
    'word_color': "#BBA234",
    'frame_color': "#C99F4F",
    'tag_fgcolor': "#FCF7EC",
  };
  //购物车营销
  Map activity_cat = {
    'word_color': "#BBA234",
    'frame_color': "#C99F4F",
    'tag_fgcolor': "#FCF7EC",
  };
  List TJlist = [];
  //角度
  List angle = [0.0, 0.0, 0.0, 0.0];
  List cxangle = [0.0, 0.0, 0.0, 0.0];
  TrolleyState() {
    ///Initialize variables
  }
}
